package cn.felord.datetime.convert.config;

import cn.felord.datetime.convert.cache.RedissonLockAop;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

public class RedissonConfiguration {

    @Bean
    @ConditionalOnMissingBean(RedissonLockAop.class)
    public RedissonLockAop redissonLockAop() {
        return new RedissonLockAop();
    }
}
